import React,{FC} from "react";
type Iprops={
    message:string[];
}
const ComC:FC<Iprops>=(props)=>{
    return(
        <fieldset>
            <legend>运算符</legend>
            {props.message.length>0 &&<h1>您有{props.message.length}条未读信息</h1>}
        </fieldset>
    )
}

export default ComC